////////////////////////////////////////////////////////////////////////////////
// Copyright 2005 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   TODO_LIST
// AUTHOR           :   Victor.zheng 
// DATE CREATE      :   2005/10/25
// DESCRIPTION      :   a VO file for the function, TODO_LIST
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2005/10/25   Victor.zheng    1.0                 source is generated.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.login.todoList.vo;

import java.sql.Timestamp;

import com.erp.app.login.todoList.pk.TodoListPk;
import com.erp.framework.model.pk.SimplePageEditStylePk;
import com.erp.framework.model.vo.SimplePageEditStyleVo;
import com.erp.framework.types.CustomBigDecimal;
import com.erp.framework.types.CustomSqlDate;

/**
* <p>A <strong>VO</strong>(Value Object) is a JavaBean which provides property
* getter and setter methods for all of the bean properties, and implements
* <code>Serializable</code>, as required by the JavaBean specification
* The main purpose for this class is to store the data retrieved from the database,
* and the converted data from the web browsers.
*
* @author          Victor.zheng 
* @version 1.0     2005/10/25
* @since           FrameWork 1.0
*
*/
public class TodoListVo extends SimplePageEditStyleVo {

	//DB Table Name: T_TODO_LIST

	//PK Attributes
	private String companyCode;                      //DB Column Name: COMPANY_CODE
	private String userGroup;                        //DB Column Name: USER_GROUP
	private String todoCode;                         //DB Column Name: TODO_CODE

	//Other Attributes
	private String todoName;                         //DB Column Name: TODO_NAME
	private String todoDesc;                         //DB Column Name: TODO_DESC
	private String status;                           //DB Column Name: STATUS
	private String priority;                         //DB Column Name: PRIORITY
	private String category;                         //DB Column Name: CATEGORY
	private String repetition;                       //DB Column Name: REPETITION
	private CustomSqlDate dueOn;                     //DB Column Name: DUE_ON
	private CustomSqlDate alertOn;                   //DB Column Name: ALERT_ON
	private CustomSqlDate postponedOn;               //DB Column Name: POSTPONED_ON
	private CustomSqlDate completedOn;               //DB Column Name: COMPLETED_ON
	private CustomBigDecimal estDuration;            //DB Column Name: EST_DURATION
	private CustomBigDecimal actualDuration;         //DB Column Name: ACTUAL_DURATION
	private CustomBigDecimal noDaysToPostpone;       //DB Column Name: NO_DAYS_TO_POSTPONE
	private String activeInd;                        //DB Column Name: ACTIVE_IND
	private CustomSqlDate activeDate;                //DB Column Name: ACTIVE_DATE
	private CustomSqlDate inactiveDate;              //DB Column Name: INACTIVE_DATE
	private String dcInd;                            //DB Column Name: DC_IND
	private CustomSqlDate dcDate;                    //DB Column Name: DC_DATE
	private String createUser;                       //DB Column Name: CREATE_USER
	private Timestamp createDate;                    //DB Column Name: CREATE_DATE
	private String updateUser;                       //DB Column Name: UPDATE_USER
	private Timestamp updateDate;                    //DB Column Name: UPDATE_DATE

	/**
	* Stores the detail child names by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTypesName() {
		//this.childTypesName=new String[2];
		//this.childTypesName[0]="com.erp.app.form.beans.FormApprovalListVo";
		//this.childTypesName[1]="com.erp.app.form.beans.FormAttachmentVo";
	}

	/**
	* Stores the table schema name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setTableSchemaName() {
		this.tableSchemaName="com.erp.app.login.todoList.schema.TodoListSchema";
	}

	/**
	* Stores the detail child table schema names by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected  void setChildTableSchemaNames() {
		//this.childTableSchemaNames=new String[2];
		//this.childTableSchemaNames[0]="com.erp.app.form.beans.FormApprovalListSchema";
		//this.childTableSchemaNames[1]="com.erp.app.form.beans.FormAttachmentSchema";
	}

	/**
	* Stores the DAO name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setDaoName() {
		this.daoName="com.erp.app.login.todoList.dao.TodoListDao";
	}

	/**
	* Stores the biz logic name by the fully-qualified java class path.
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	protected void setBizLogicName() {
		this.bizLogicName = "com.erp.app.login.todoList.bizLogic.TodoListBizLogic";
	}

	/**
	* Returns the primary key for this class.
	* @return      primary key of this class
	*
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public SimplePageEditStylePk getPageEditStylePk() {
		return new TodoListPk(this.companyCode, this.userGroup, this.todoCode);
	}

	/**
	* Converts to a string representing the data in this object.
	* A new <code>String</code> object is allocated and initialized to 
	* contain the character sequence currently represented by this 
	* object. This <code>String</code> is then returned. Subsequent 
	* changes to this object do not affect the contents of the 
	* <code>String</code>. 
	*
	* @return     a string representation of the object.
	* @see        java.lang.Object#toString()
	* @author     Victor.zheng 
	* @since      FrameWork 1.0
	*/
	public String toString() {
		String pkStr = "PK: {companyCode = " + this.companyCode
			+ "\n, userGroup = " + this.userGroup
			+ "\n, todoCode = " + this.todoCode + "}\n";

		String colStr = "COL: {todoName = " + this.todoName
			+ "\n, todoDesc = " + this.todoDesc
			+ "\n, status = " + this.status
			+ "\n, priority = " + this.priority
			+ "\n, category = " + this.category
			+ "\n, repetition = " + this.repetition
			+ "\n, dueOn = " + this.dueOn
			+ "\n, alertOn = " + this.alertOn
			+ "\n, postponedOn = " + this.postponedOn
			+ "\n, completedOn = " + this.completedOn
			+ "\n, estDuration = " + this.estDuration
			+ "\n, actualDuration = " + this.actualDuration
			+ "\n, noDaysToPostpone = " + this.noDaysToPostpone
			+ "\n, activeInd = " + this.activeInd
			+ "\n, activeDate = " + this.activeDate
			+ "\n, inactiveDate = " + this.inactiveDate
			+ "\n, dcInd = " + this.dcInd
			+ "\n, dcDate = " + this.dcDate
			+ "\n, createUser = " + this.createUser
			+ "\n, createDate = " + this.createDate
			+ "\n, updateUser = " + this.updateUser
			+ "\n, updateDate = " + this.updateDate + "}\n";

		return "TodoListVo.toString() is:\n" + pkStr + colStr;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Generated Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////

	public String getCompanyCode() {
		return this.companyCode;
	}

	public String getUserGroup() {
		return this.userGroup;
	}

	public String getTodoCode() {
		return this.todoCode;
	}

	public String getTodoName() {
		return this.todoName;
	}

	public String getTodoDesc() {
		return this.todoDesc;
	}

	public String getStatus() {
		return this.status;
	}

	public String getPriority() {
		return this.priority;
	}

	public String getCategory() {
		return this.category;
	}

	public String getRepetition() {
		return this.repetition;
	}

	public CustomSqlDate getDueOn() {
		return this.dueOn;
	}

	public CustomSqlDate getAlertOn() {
		return this.alertOn;
	}

	public CustomSqlDate getPostponedOn() {
		return this.postponedOn;
	}

	public CustomSqlDate getCompletedOn() {
		return this.completedOn;
	}

	public CustomBigDecimal getEstDuration() {
		return this.estDuration;
	}

	public CustomBigDecimal getActualDuration() {
		return this.actualDuration;
	}

	public CustomBigDecimal getNoDaysToPostpone() {
		return this.noDaysToPostpone;
	}

	public String getActiveInd() {
		return this.activeInd;
	}

	public CustomSqlDate getActiveDate() {
		return this.activeDate;
	}

	public CustomSqlDate getInactiveDate() {
		return this.inactiveDate;
	}

	public String getDcInd() {
		return this.dcInd;
	}

	public CustomSqlDate getDcDate() {
		return this.dcDate;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public Timestamp getCreateDate() {
		return this.createDate;
	}

	public String getUpdateUser() {
		return this.updateUser;
	}

	public Timestamp getUpdateDate() {
		return this.updateDate;
	}

	public void setCompanyCode(String companyCode) {
		this.companyCode = companyCode;
	}

	public void setUserGroup(String userGroup) {
		this.userGroup = userGroup;
	}

	public void setTodoCode(String todoCode) {
		this.todoCode = todoCode;
	}

	public void setTodoName(String todoName) {
		this.todoName = todoName;
	}

	public void setTodoDesc(String todoDesc) {
		this.todoDesc = todoDesc;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public void setPriority(String priority) {
		this.priority = priority;
	}

	public void setCategory(String category) {
		this.category = category;
	}

	public void setRepetition(String repetition) {
		this.repetition = repetition;
	}

	public void setDueOn(CustomSqlDate dueOn) {
		this.dueOn = dueOn;
	}

	public void setAlertOn(CustomSqlDate alertOn) {
		this.alertOn = alertOn;
	}

	public void setPostponedOn(CustomSqlDate postponedOn) {
		this.postponedOn = postponedOn;
	}

	public void setCompletedOn(CustomSqlDate completedOn) {
		this.completedOn = completedOn;
	}

	public void setEstDuration(CustomBigDecimal estDuration) {
		this.estDuration = estDuration;
	}

	public void setActualDuration(CustomBigDecimal actualDuration) {
		this.actualDuration = actualDuration;
	}

	public void setNoDaysToPostpone(CustomBigDecimal noDaysToPostpone) {
		this.noDaysToPostpone = noDaysToPostpone;
	}

	public void setActiveInd(String activeInd) {
		this.activeInd = activeInd;
	}

	public void setActiveDate(CustomSqlDate activeDate) {
		this.activeDate = activeDate;
	}

	public void setInactiveDate(CustomSqlDate inactiveDate) {
		this.inactiveDate = inactiveDate;
	}

	public void setDcInd(String dcInd) {
		this.dcInd = dcInd;
	}

	public void setDcDate(CustomSqlDate dcDate) {
		this.dcDate = dcDate;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public void setCreateDate(Timestamp createDate) {
		this.createDate = createDate;
	}

	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}

	public void setUpdateDate(Timestamp updateDate) {
		this.updateDate = updateDate;
	}

	////////////////////////////////////////////////////////////////////////////////
	//Other Accessors (get/set methods)
	////////////////////////////////////////////////////////////////////////////////


}